package me.zhengjie.modules.system.service.mapper

import me.zhengjie.common.base.BaseMapper
import me.zhengjie.modules.system.domain.Role
import me.zhengjie.modules.system.service.dto.RoleDTO
import me.zhengjie.modules.system.service.mapper.DeptMapper
import me.zhengjie.modules.system.service.mapper.MenuMapper
import org.mapstruct.Mapper
import org.mapstruct.ReportingPolicy
/**
 * @author Kuki Wu
 * @date 2024-11-23
 */
@Mapper(
    componentModel = "spring",
    uses = [MenuMapper::class, DeptMapper::class],
    unmappedTargetPolicy = ReportingPolicy.IGNORE
)
interface RoleMapper : BaseMapper<RoleDTO?, Role?>